package com.dhcc.bpm.business.papc.mapper;

import com.dhcc.bpm.business.papc.entity.BatchSchedule;
import com.dhcc.bpm.business.papc.vo.BatchScheduleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 批量任务计划表  Mapper 接口
 *
 * @author zhanghang
 * @since 2020-12-18
 */
public interface BatchScheduleMapper extends BaseMapper<BatchSchedule> {

	/**
	 * 自定义分页
	 *
	 * @param page
	 * @param batchSchedule
	 * @return
	 */
	List<BatchScheduleVO> selectBatchSchedulePage(IPage page, BatchScheduleVO batchSchedule);

	boolean delIdAndPid(@Param("ids") List<Long> ids);
}
